8659d4c63074a64dcee6273a97f242d31b37b4bb,test/src/org/exist/dom/BasicNodeSetTest.java,BasicNodeSetTest,setUp,#,419

Before Change


            for (int i = 0; i < files.length; i++) {
                f = files[i];
                try {
                    info = root.validateXMLResource(transaction, broker, XmldbURI.create(f.getName()), new InputSource(f.toURI().toASCIIString()));
                    assertNotNull(info);
                    root.store(transaction, broker, info, new InputSource(f.toURI().toASCIIString()), false);
                } catch (SAXException e) {

After Change



            // store some documents.
            for(File f : dir.listFiles(new XMLFilenameFilter())) {
                IndexInfo info = root.validateXMLResource(transaction, broker, XmldbURI.create(f.getName()), new InputSource(f.toURI().toASCIIString()));
                root.store(transaction, broker, info, new InputSource(f.toURI().toASCIIString()), false);
            }